package com.cec.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cec.dto.ActivityRegDTO;
import com.cec.dto.user.UserActivityRegDTO;
import com.cec.dto.user.VolunteerActivityRegDTO;
import com.cec.entity.ActivityReg;
import com.cec.entity.Volunteer;
import com.cec.result.Result;

public interface VolunteerActivityRegService extends IService<Volunteer> {

    /**
     * 志愿者活动报名
     * @param volunteerActivityRegDTO
     * @return
     */
    Result saveVolunteerActivityReg(VolunteerActivityRegDTO volunteerActivityRegDTO);

    /**
     * 根据志愿者id查询活动报名信息
     * @return
     */
    Result queryActivityRegByVolunteerId();

    /**
     * 分页查询志愿者活动报名信息
     * @param activityRegDTO
     * @return
     */
    Result pageQueryVolunteerActivityReg(ActivityRegDTO activityRegDTO);
}
